<?php

namespace app\services;



use think\facade\Cache;

class SalesListService
{


    public function getSalesFromRedis($id){
        $salesList = Cache::store('redis')->hGet('cod_sales_list', $id);

        return $salesList? json_decode($salesList, true):null;
    }
}